Skip to content

feat(studio): 概览 package overview page — Info and Pending tabs, ⋯ menu in its header - #37546

Draft
objectstack-fleet[bot] wants to merge 6 commits into
mainfrom
claude/issue-37454-studio-thin-package-overview
Draft

objectstack-fleet[bot] wants to merge 6 commits into
mainfrom
claude/issue-37454-studio-thin-package-overview

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Requested by Bill · project thread

Fixes #37454
Clause-②: no
Metadata-protocol: none

维护者速读

用户能看到什么变化:在 Studio 里打开一个软件包,左侧菜单第一行变成「概览」,有待发布的修改时旁边显示数量,点数量直接进入待发布。概览页头显示包名、「系统自带/可写」「使用中/已停用」两个标记和包的描述,下面有「信息」「待发布」两栏;原来顶栏左侧的「⋯」软件包菜单搬到了这页页头的右侧。
为什么做:这是 App Studio 改版的第一步(精简的软件包概览)。包的基本信息和等着发布的修改都集中到这一页,不用再去顶栏和设置里分头找。
出错会怎样:在 Studio 里管理软件包的人会碰到。最可能的问题是待发布数字和实际不符,或者从概览发布的结果和顶栏发布不一样;顶栏的发布按钮仍然保留,可以照常用。这个改动可以直接撤回,不涉及数据。
要你做什么:无

What changes

  • New page StudioPackageOverviewPage, reached at /studio/PACKAGE/overview (ADR-0084 § 概览 Overview, amendment 2026-11-26). It is drawn in an item page's frame: StudioItemHeader plus StudioTab.
    • Header: the app mark (or the package icon), the name, and two chips: 系统自带 with a lock on a read-only package or 可写; and 使用中 or 已停用. Both chips come from the package list row's own writable / enabled; a row that does not say draws no chip. The description is the header's note, and the ⋯ menu sits in the header's actions.
    • 信息 Info: read-only rows for name, description, source, version and the package's app (a link that opens it). A read-only package says so beside its source. The id, namespace and type are folded under 技术信息.
    • 待发布 Pending (?tab=pending): the existing DraftChangesPanel drawn in place. Its tab carries the pending count only while something is pending.
  • DraftChangesPanel gains two optional props. Without them it behaves exactly as before; the body hunk is re-indented, so read it with -w.
    • embedded draws the same header notes and body in a section instead of a Sheet, and does not dismiss toasts on open.
    • reloadKey re-reads the drafts when it moves.
  • StudioDesignSurface
    • Renders the overview branch with the panel wired prop for prop like the top bar's sheet: doPublish (or undefined when publishReadOnly), draftScope, renderPublishRefusal, the pair's customizationOf, and publishing.
    • StudioPendingDraftsContext.Provider now wraps the menu and pillars row, so the menu can read the count.
    • The top bar's Changes / Publish stays; ADR-0084 keeps it until a later card.
  • ⋯ StudioPackageMenu left StudioBackToApp (its menu prop is removed) and now lives in the overview header. Its six rows are unchanged, and it opens aligned to the end. Disable, enable and delete stay in Setup (question 1 ruled B).
  • StudioMenu: the first row of a package's menu, above the groups and under no group's label, is 概览 (a package cube icon). While drafts wait it carries their count as an amber badge, a link of its own beside the row, which opens ?tab=pending. A search lists the row when its name matches. ~org and ~all draw no such row. The menu reads the count from StudioPendingDraftsContext.
  • Address and menu model
    • Address: studioPackageOverviewPath and studioOverviewTab in studioAddress.ts, with the overview family and the tab=pending row added to studioAddressTable.ts.
    • Menu model: studioMenuOverviewEntry (no entry outside a package; a badge only above zero), studioMenuOverviewMatches, and studioMenuCurrentKey answering overview.
  • Package REST read: ListedPackageManifest now carries enabled and source from the row of GET /api/v1/packages. There is no package metadata type.
  • i18n (en, zh): engine.studio.menu.overview, engine.studio.menu.overviewPending and engine.studio.overview.*.
  • Changeset: patch for @object-ui/app-shell and @object-ui/i18n.

Read first (by risk):

  1. StudioDesignSurface.tsx, the overview branch's DraftChangesPanel props. The Pending tab must publish exactly like the top bar.
  2. DraftChangesPanel.tsx, the embedded return and the reloadKey effect deps.
  3. StudioMenu.tsx, renderOverview() and its call above the groups: the badge is a sibling link, not nested in the row's link.

Tests

The page and Pending-tab runs are on head 06830bf. The menu row, the merge of origin/main and the gates are on 618c0cf and ad57b70; ad57b70 only swaps the row's icon, and the menu tests and tsc were rerun on it.

  • New StudioPackageOverview-37454.test.tsx (the real surface; the panel probe records the props given to the sheet and to the embedded panel). It covers:
    • the header chips in en and zh, read-only 系统自带 with a lock, and 已停用;
    • the menu in the header and not in the top bar, and no menu without manage_metadata;
    • the Info fields with the technical section folded, and the read-only source sentence;
    • the Pending count and the ?tab=pending URL, with no count when nothing is pending;
    • embedded props identical to the sheet's, and onPublish undefined on both for a read-only package.
  • New StudioMenu.overview-37454.test.tsx (real provider, sidebar primitive and router). It covers:
    • 概览 is the first link, above every group and under none; it opens the overview, reads 概览 in zh, and is current on the overview including the Pending tab;
    • CONTROL: ~org and ~all draw no row;
    • the badge reads 3 with its aria-label; CONTROL: a ledger of 0 and an unknown ledger draw no badge;
    • one click on the badge lands on /overview?tab=pending, and the row lands on the Info tab;
    • a search lists the row on over but not on flow.
  • StudioMenu.test.tsx: the 常用 listing case now asserts that 概览 leads the menu before the 常用 types. Its App Studio 改版(1-1):左侧菜单照前端样式——分组标题可折叠、线条图标不带底色、选中用胶囊加竖条;定义 Studio 专用石墨色 #37452 cases (chevrons, active pill, graphite accent) pass unchanged.
  • Re-pointed, not weakened: StudioDesignSurface.publishCount-11807.test.tsx now runs every case twice, from the top bar and from the Pending tab (describe.each). StudioPackageMenu-37139.test.tsx now opens the menu from the overview header and asserts that the top bar has none.
  • Extended: DraftChangesPanel.posture-12517.test.tsx covers the embedded panel: no dialog, publish with no options, no toast dismiss (control: the sheet dismisses), a reloadKey re-read (control: an unmoved key reads nothing more), and nothing drawn when closed. studioMenuModel.test.ts covers the overview entry, the badge, the matcher and the current key. studioAddress.test.ts covers the builder, the tab and the table lists.
  • Broad run over studio-design/, preview/ and packages/i18n/ on 618c0cf: 449 files, 4714 passed and 13 skipped; lock VERDICT command-exit 0. The two menu test files on ad57b70: 45 passed.
  • Typecheck: app-shell tsc --noEmit exits 0 on ad57b70 and tsc -p tsconfig.test.json exits 0 on 618c0cf.
  • Ablation (each leg went red, and each restore is proven: blob equals HEAD and git diff HEAD is empty):
    • A1: Pending tab onPublish set to undefined. 6 red: 5 Pending-tab publish cases and the prop-parity case.
    • A2: embedded panel dismisses toasts. 1 red.
    • A3: reloadKey dropped from the effect deps. 1 red.
    • A4: embedded branch disabled. 1 red.
    • A5: read-only chip forced off. 3 red.
    • A6: badge drawn at zero in the model. 1 red.
    • B1: the menu row moved below the groups. 1 red (the first-row pin).
    • B2: the badge drawn whatever the count. 2 red (the zero and unknown controls).
    • B3: the badge linked to the row's own address. 1 red (the badge-click pin).
Ablation log (ablation-replace verdicts)
LEG A1-pending-onPublish :: exit 1 :: Test Files 2 failed (2)  Tests 6 failed | 24 passed (30)
LEG A2-embedded-toast    :: exit 1 :: Test Files 1 failed (1)  Tests 1 failed | 9 passed (10)
LEG A3-reloadKey         :: exit 1 :: Test Files 1 failed (1)  Tests 1 failed | 9 passed (10)
LEG A4-embedded-inplace  :: exit 1 :: Test Files 1 failed | 1 passed (2)  Tests 1 failed | 23 passed (24)
LEG A5-readonly-chip     :: exit 1 :: Test Files 1 failed (1)  Tests 3 failed | 11 passed (14)
LEG A6-badge-zero        :: exit 1 :: Test Files 1 failed (1)  Tests 1 failed | 31 passed (32)
RESTORE diff-HEAD-bytes=0 status=0 ; hash-ok on all four mutated files
LEG B1-first-row         :: exit 1 :: Test Files 1 failed (1)  Tests 1 failed | 9 passed (10)
LEG B2-badge-always      :: exit 1 :: Test Files 1 failed (1)  Tests 2 failed | 8 passed (10)
LEG B3-badge-target      :: exit 1 :: Test Files 1 failed (1)  Tests 1 failed | 9 passed (10)
RESTORE diff-HEAD-bytes=0 status=0 ; hash-ok StudioMenu.tsx
os-verify-lock: VERDICT command-exit 0 (both batches)

Acceptance notes

  • The claim's file surface was amended to add StudioMenu.tsx for the 概览 row and its badge only. studio-tokens.ts, studioAccent.ts, studioTitleRow.tsx and PageShell.tsx are untouched.
  • The row is drawn in StudioMenu.tsx and not through buildStudioMenu, which builds only the domain groups: adding a kind there would change the per-kind records the menu keys on. The row reuses the sidebar primitive's SidebarMenuButton, so its active state is the same graphite pill as every entry. In the real browser the current-row background reads rgba(53, 57, 64, 0.1) in light and rgba(208, 210, 216, 0.18) in dark, the same on the 流程 entry and on the 概览 row, and the 5 group chevrons are drawn.
  • The icon is a package cube (Package). A first cut used LayoutDashboard, which the browser showed to be indistinguishable from 应用's LayoutGrid.
  • Mockup 4 comparison.
    • Header, chips, description, tabs, the Info card and the folded 技术信息 match.
    • Not in this card's governing text: the standalone 导出 button (export stays a ⋯ row, six rows unchanged) and the 发布历史 tab.
    • The source line shows the row's own source (代码。只读:不能直接修改。). The mockup's pair-aware sentence (你的修改会单独保存…) is copy for a later pass.
  • STUDIO_OVERVIEW_TAB_PARAM lives in studioAddress.ts beside the builder that writes it, following ui AGENTS rule Convert to monorepo with scoped packages #8 on ?tab= constants. The address table registers it with keptOnRetiredInterfaces: false.
  • reloadKey is a prop added to the load effect's deps and not a key= bump, following ui AGENTS rule Convert to monorepo with scoped packages #8 on forced reloads.
  • The top-bar Publish is unchanged and stays until the card ADR-0084 names for its removal.

Verification

Two-minute check: run the showcase example and open /studio/com.example.showcase/overview. Expect:

  • the header with ObjectStack Showcase, 系统自带 with a lock, 使用中 and the description, with ⋯ at the right;
  • 信息 with 基本信息 and a folded 技术信息;
  • 待发布 listing any drafts, with 全部发布 at the bottom.

Real browser: Chromium at deviceScaleFactor 2, light and dark, on the showcase with 3 AI-style view drafts in its customization pair.

  • Shots taken: the Info tab, the Info tab with 技术信息 open, the ⋯ menu open with its six rows, the Pending tab with a count of 3, the Pending tab after publishing, the menu with 概览 first and its badge (full page and close-up), and a badge click landing on the Pending tab.
  • In the menu, the first links are 概览, its badge (3, 3 项修改待发布), then 对象. Clicking the badge lands on /studio/com.example.showcase/overview?tab=pending with the Pending tab open and 概览 current.
  • Clicking 全部发布 in the Pending tab sent POST /api/v1/packages/com.example.showcase.custom/publish-drafts. _drafts then read empty and the tab count disappeared.
Derived gates (dispatch-gates --ran)
Run reconciliation — 39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN.
✓ dispatch-gates --ran: 39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED (a DERIVED zero — all 39 recorded an exit code and none of them is 3).
every one of the 39 :: exit 0 (incl. check:nul-bytes, check:published-files, check:type-check-coverage, check:test-source-alias,
check:cross-package-test-inputs, check-adr-0087-registration, check-empty-changeset, check-changeset-no-major)
pnpm --dir ui exec vitest run scripts/ :: Test Files 172 passed | 2 skipped (174) · Tests 5130 passed | 2 skipped · lock VERDICT command-exit 0
check-platform-checklist --changed-from origin/main: OK — 2 anchor(s) judged, 0 lost

Generated by Claude Code

@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 26, 2026
…udio-thin-package-overview

Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4
Co-authored-by: Claude <noreply@anthropic.com>
…ens the Pending tab

Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Final green head (2026-11-26T13:54Z): ad57b709e643fec2304f17ecb21efea8cf2bee5d. CI read once: 45 success, 13 skipped, 0 other. The area PATCHed the PR body to Fixes #37454 from the dev's prepared text (read-back identical), so PR-body guards re-run on that body. Sent to seat repo:objectstack#5 for L1. os-dev reports: 7192209474 (round 1) and 7193948346 (round 2), both on #37454.

Area notes for L1:

  1. Surface: claim amendment 7192233242 adds StudioMenu.tsx for the 概览 row and its badge only. The claim had marked that file read-only by mistake, so round 1 stopped and asked. studio-tokens.ts, studioAccent.ts, studioTitleRow.tsx and PageShell.tsx are untouched. The App Studio 改版(1-1):左侧菜单照前端样式——分组标题可折叠、线条图标不带底色、选中用胶囊加竖条;定义 Studio 专用石墨色 #37452 menu styling is re-measured unchanged in the browser.
  2. Scope as governed (docs/adr/0084 #amendment-2026-11-26-overview): Info is read-only with the technical fields folded away. Pending embeds DraftChangesPanel with new optional embedded / reloadKey props. The ⋯ menu moves with its six rows. The top-bar Publish stays until App Studio 改版(1-5):去掉 Studio 顶栏改左右两栏——左上角两行(标志加折叠;返回加软件包切换器和「新建软件包」)、只读小锁、折叠窄栏 #37456. The badge is drawn only while drafts are pending. ~org / ~all draw no 概览 row.
  3. Publish parity: publishCount-11807 now runs every case from both the top bar and the Pending tab. A browser publish from Pending posted publish-drafts and cleared the count.
  4. Ablations: A1–A6 (round 1) and B1–B3 (round 2) all go red.
  5. Screenshots: objectstack-seat5/topic-37424/cards/shots-37454/, light and dark, showing the Info tab, the technical fold, the ⋯ menu, the Pending tab, 概览 first with its badge, and a badge click landing on Pending.
  6. Not filed (copy choices against mockup 4): the source sentence wording, and the standalone 导出 button and 发布历史 tab. The last two are phase 2 by the governing text.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head ad57b70 · 2026-11-26T13:55Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract review

Served-tier: TIER_DEFAULT
Head-sha: ad57b709e643fec2304f17ecb21efea8cf2bee5d
Local-runs: none

Read: card #37454 (body, claim 7190624039, reports 7192209474 and 7193948346, amendment 7192233242), the final-head comment 7194013036, the P1-3 row of epic #37424's phase table (7184108099), ADR-0084 § 概览 Overview on main, the PR body, and the net diff origin/main...ad57b709 (22 files, +1758/−434). Check-runs on the head: 47 success, 15 skipped, 0 failed or pending.

① Derived judgments

Acceptance, line by line.

  • 概览 is the first menu row, above the groups and under no group. It carries the pending count as a badge only while the count is above zero, and a click on the badge opens ?tab=pending. ~org and ~all draw no row. Met (StudioMenu.tsx renderOverview, studioMenuOverviewEntry).
  • The header reuses StudioItemHeader. It shows the name, 系统自带 (with a lock) or 可写, 使用中 or 已停用, the description, and the ⋯ menu with its six rows unchanged. Disable, enable and delete stay in Setup (Q1 = B). Met. A row with no boolean enabled draws no chip, so nothing is guessed.
  • The Info tab is read-only: name, description, source, version and app. The id, namespace and type are folded under 技术信息. Met.
  • The Pending tab is DraftChangesPanel drawn in place. It gets doPublish, or undefined when publishReadOnly, plus draftScope (the pair, per ADR-0146 D3), renderPublishRefusal, customizationOf and publishing, the same props the top-bar sheet gets. The two differ only in posture (the default review) and include (used only when no package is open), and neither changes the publish request. Met.
  • "Publishing behaves exactly as from the top bar": publishCount-11807 now runs every case through both doors with describe.each, and no expectation was loosened. Met.
  • Read-only posture: there is a lock chip, the source line says the package is read-only, and onPublish is undefined on both doors (tested). Met.
  • The copy says AI drafts (engine.studio.overview.pendingNote). Met.
  • There is no package metadata type. The page reads the package REST list. The top-bar Publish stays until App Studio 改版(1-5):去掉 Studio 顶栏改左右两栏——左上角两行(标志加折叠;返回加软件包切换器和「新建软件包」)、只读小锁、折叠窄栏 #37456. Met.
  • The epic's P1-3 row ("概览 first entry, Info + Pending tabs, ⋯ moved") is met in full. The 导出 button and the 发布历史 tab are phase 2 under the governing text, and the PR rightly leaves them out.

Surface.

  • Every path is inside the claim: studio-design/**, preview/DraftChangesPanel.tsx, the studio i18n namespace files and one changeset.
  • StudioMenu.tsx gains only the 概览 row: imports, the context read, renderOverview, its call, and the row joining the no-matches condition. That is within amendment 7192233242.
  • studio-tokens.ts, studioAccent.ts, studioTitleRow.tsx and PageShell.tsx are untouched.
  • DraftChangesPanel keeps its default behaviour. Its body is moved into a shared fragment, and its new props are optional.

New address and menu-model entries.

  • The overview family has a builder that the address test pins, and the table lists it.
  • Deep links: /studio/PACKAGE/overview?tab=pending opens Pending (tested). An unknown ?tab= value falls back to Info (tested).
  • Back and forward: switching tabs replaces the history entry, as flowDesignerTabs and objectDesignerTabs do. The badge pushes a new entry.
  • An unknown or uninstalled package hits the existing pkgMissing not-found branch, which comes before the overview branch. ~org/overview redirects to the org scope, and ~all never reaches the branch. Package-less scopes draw no row and no page. All of this is correct, but none of it is tested on this address (S2).

States.

  • Loading: a spinner.
  • Error: loadFailed with the envelope's message in role=alert, so a 403 shows its sentence.
  • Empty: 未填写, and the app row is dropped when the package has no app.
  • Permission refused: no ⋯ without manage_metadata (tested), and the header is still drawn.
  • Pending inherits the panel's own empty, loading and error states.

Accept sets and public surface.

  • No server route, spec or protocol file changes.
  • ListedPackageManifest gains the optional fields enabled and source, read from the row as served.
  • DraftChangesPanel gains the optional props embedded and reloadKey.
  • StudioBackToApp loses its menu prop. StudioBackToApp is not exported from the app-shell index, and StudioDesignSurface was its only consumer.
  • All of these sit in @object-ui/app-shell, which is private: true: it is versioned but not published to npm.
  • @object-ui/i18n is published. It gains 22 studio catalogue keys, purely additive. They change no accept set.
  • Each of these changes is judged right.

i18n. en and zh add the same 22 keys. Every key is used, and the reused keys engine.packages.source.* and engine.studio.pkg.readonlyHint exist in both files. No new strings are hard-coded. See N2 and N3 for wording and a11y.

Tests.

  • The new overview tests run the real surface, and the new menu tests run the real provider, sidebar and router. They include real controls: ~org and ~all draw no row, a ledger of 0 or null draws no badge, a writable chip is kept beside 已停用, no ⋯ without manage_metadata, the sheet still dismisses toasts, and an unmoved reloadKey reads nothing more.
  • The re-pointed tests (11807, 37139, StudioMenu.test) are not weakened.
  • The PR body reports ablation legs A1–A6 and B1–B3, each going red.

Findings.

  • S1 (should-fix) — STUDIO_OVERVIEW_TAB_PARAM = 'tab' is minted as a new literal in studioAddress.ts. The ui AGENTS rule Convert to monorepo with scoped packages #8 that the PR body cites says ?tab= constants live in urlParams.ts, and RECORD_DETAIL_TAB_PARAM already holds 'tab'; ITEM_TOOL_TAB_PARAM aliases it. The new STUDIO_QUERY_PARAMS row also says tab is "Read on the overview only", but Studio's item pages already read ?tab= through ITEM_TOOL_TAB_PARAM on metadata addresses. Fix: alias the existing constant, and reword the row so it covers both readers.
  • S2 (should-fix) — Several paths on the new address have no test:
    • the overview's own failure state (studio-overview-load-failed) and its loading state;
    • an unknown package at /studio/PACKAGE/overview landing on not-found;
    • ~org/overview redirecting.
      The code is right today, but nothing pins the branch order that keeps a missing package off the overview. One failing-list case and one unknown-id case would close the gap.
  • N1 (nit) — Push-down. The Info tab reads the whole GET /api/v1/packages list and picks one row on the client (rows.get(packageId)), although GET /packages/:id serves the same projection. The page states a reason: it shares the request the surface already sends. That holds on a cold mount. Entering 概览 from another Studio page, and each refreshKey move, still sends a full-list read. The list is the package registry and no SQL is involved, so this is not a Prime Directive 5 breach. A single-row read is the narrower choice.
  • N2 (nit) — The loading row is a p holding only an aria-hidden spinner, so assistive tech gets nothing while the read is in flight. It needs a role=status with sr-only text.
  • N3 (nit) — In English, engine.studio.menu.overviewPending reads "1 changes wait for a publish" at a count of 1. The badge's aria-label and the tab title both use this key.
  • N4 (nit) — In StudioPackageMenu-37139, the "no ⋯ without a current package" checks on ~org and ~all now pass vacuously. The menu is drawn only on the overview, which those scopes never reach, so the checks can no longer fail on the gate they name.

② Semver level

  • The changeset bumps @object-ui/app-shell and @object-ui/i18n by patch.
  • Metadata-protocol: none is right: nothing a metadata author can write changes. Under AGENTS.md checklist step 3, none takes patch, so the level is right.
  • Published packages: @object-ui/i18n only. @object-ui/app-shell is private, versioned under privatePackages, and not published to npm.
  • Clause-②: no is right. No published accept set or public surface widens: the i18n keys are additive catalogue entries, and every API change is in the private app-shell.
  • No narrowing arm is owed. The changeset body carries both declaration lines, and they match the PR body.

③ Boundary flags

  • Round-1 open_questions (how the 概览 row lands, given StudioMenu.tsx was read-only): answered by amendment 7192233242 (option A). The diff stays within it. The PR is back to Fixes #37454.
  • Round-2 open_questions: none.
  • out_of_scope_findings (the mockup's pair-aware source sentence; 导出 and 发布历史): agreed, not owed here. 导出 and 发布历史 are phase 2 in ADR-0084. The source sentence is copy that a later pass can take up.
  • Deviations: the broad suite ran on 618c0cf, and ad57b70 only swaps one icon import. CI on ad57b70 is green, so nothing is outstanding.
  • SQL push-down: no new id materialisation and no in-app join over SQL-backed data. The one client-side filter is N1, and the page gives its reason.

Implemented-by: claude/issue-37454-studio-thin-package-overview
Reviewed-by: session_01Utp6CYtTDvfPQDzMbZnN5X

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

席位核对

Head-sha: ad57b709e643fec2304f17ecb21efea8cf2bee5d
REWORK — L1, seat repo:objectstack#5

  1. Shape: open draft against main, Fixes #37454. 22 files, +1758/−434. Not governed. Clause-②: no (app-shell is private and the i18n keys are additive), Metadata-protocol: none, patch. Every file is inside the claim plus amendment 7192233242; StudioMenu.tsx gains only the 概览 row.
  2. Premise: every line of card App Studio 改版(1-3):精简版软件包概览页——菜单第一项「概览」带待发布数字,信息页签只读、待发布页签接住发布,「⋯」软件包菜单搬进页头 #37454 and of epic 专题:App Studio 改版(Studio 是开发软件包的入口:左右两栏、软件包切换和概览页、列表页按前端样式、专用色和新名字) #37424's P1-3 row is met. The Pending tab uses the same publish wiring as the top-bar panel, and the publish-parity test runs every case from both doors. A read-only package shows the lock. Deep links to ?tab=pending work, and unknown packages land on the existing not-found state.
  3. Gates: contract record 7194215496 reads PASS, with two should-fix findings. CI on this head: 47 success, 15 skipped, 0 failed.
  4. Owed for the delta:
    • S1: STUDIO_OVERVIEW_TAB_PARAM = 'tab' is a new literal in studioAddress.ts. ui AGENTS rule Convert to monorepo with scoped packages #8, which the PR body itself cites, puts ?tab= keys in urlParams.ts, which already holds 'tab'. Reuse or move it there. Correct the address-table row too: Studio item pages already read ?tab=, so the key is not "read on the overview only".
    • S2: pin the overview's branch order. Add tests for a load failure, the loading state, an unknown package at /studio/PACKAGE/overview, and the ~org/overview redirect, each with its ablation.
    • N3 ("1 changes wait for a publish" at a count of 1): fix it with plural-aware text in the same push. N2 (a screen-reader label on the loading row): fix it if cheap. N1 (one package picked from the full list) and N4 (two ⋯ checks that can no longer fail; delete or re-point them if cheap) are accepted.
  5. Out of scope and where it went: none.
  6. Next: push, then knock. The delta reads S1 and S2. After ACCEPT, area ux-37424 lands it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants